package org.example.dao.entity.market;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.example.skytool.commom.IconConstant;

import java.io.Serializable;
import java.util.Date;

/**
 * (CCommodity)实体类
 *
 * @author makejava
 * @since 2023-09-13 08:57:06
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CCommodity {
    private Long id;
    private Long storeId;
    private String name;
    private Long cost;
    private Long stock;
    private Long sales;
    private String details;
    //商品主页图片
    private String icon = IconConstant.getIcon();
    private Date createTime = new Date();
    private Date updateTime = new Date();
    private Integer isValid = 1;
}

